<?php
$api = array(
    'namespace' => 'Home',
    'middleware' => ['web','access']
);
Route::group($api, function () {
    Route::any('api', 'ApiController@anyIndex');
    Route::any('notify/pay', 'NotifyController@anyPayNotify');
    Route::any('notify/charge', 'NotifyController@anyChargeNotify');
    Route::any('notify/unionpay', 'NotifyController@anyUnionPayNotify');
    Route::any('notify/unioncharge', 'NotifyController@anyUnionChargeNotify');
});